package com.xa.xamall.framework.model;

import java.io.Serializable;

/**
 * 键和值实体类
 */
public class KeyValue implements Serializable {

    private static final long serialVersionUID = 7171652428204639924L;
    private int key;
    private Object value;

    public int getKey() {
        return key;
    }

    public void setKey(int key) {
        this.key = key;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public KeyValue(int key, Object value) {
        this.key = key;
        this.value = value;
    }
}
